package com.youi.dao;

import com.youi.entity.Tremittance;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TremittanceDao extends BaseDao<Tremittance> {
    public Tremittance getForUpdate(Long id);

    public List<Tremittance> listForFinishMerchantDivide(@Param(value = "id") Long id);

    public List<Map<String, Object>> merchantDivideStat(@Param(value = "id") Long id);

    public List<Tremittance> listForFinishPlatfotmDivide(@Param(value = "id") Long id);

    public List<Map<String, Object>> PlatfotmDivideStat(@Param(value = "id") Long id);


    /**
     * 获取打款申请
     *
     * @param param
     * @return
     */
    List<Map<String, Object>> listRemittanceApplyByParam(Map<String, Object> param);
}